home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / doc / dicehelp.doc < prev    next >
Text File  |  1994-02-13  |  2KB  |  59 lines

  1. Give it a whirl!  More features are planned; optimizing reading an entire
  2. file, better determination of structure boundaries, list the source file
  3. name on a structure reference so the user can pop the entire file up,
  4. automatic unload on low memory, path for .index files rather than one
  5. hard-coded one, etc.
  6.  
  7. You're the first tester.  Matt has yet to try this.  Note that CLI
  8. usage currently re-reads the index file; this will be fixed.
  9.  
  10. After you get the s:DICEHelp.index file built, try playing with case
  11. and partial strings:
  12.  
  13.                 DICEHelp AllocMem
  14.                 DICEHelp ALLOCmem
  15.                 DICEHelp BltBitMapRast
  16.                 DICEHelp BltBit
  17.                 DICEHelp AddAppIcon
  18.                 DICEHelp AddAppIconA
  19.  
  20. DICEHelp returns instantly on a %100 match, or searches for the best match.
  21. Each case mismatch counts 1 inaccuacy point.  A difference in source/
  22. destination string length counts 2 per character.
  23.  
  24.  
  25.  
  26.  
  27.     Bryce Nesbitt           bryce@commodore.com
  28.                             uunet.uu.net!cbmvax!bryce
  29.  
  30. Quick test DICEHelp:
  31.  
  32.  
  33.           1> Copy:
  34.                         DICEHelp to somewhere in your path
  35.  
  36.           2> Execute:
  37.                         MakeIndex s:DICEHelp.index wherever:doc/#?.doc
  38.                         MakeIndex s:DICEHelp.index dinclude:amiga20/#?/#?.h
  39.                         MakeIndex s:DICEHelp.index dcc:doc/#?.doc
  40.  
  41.           3> Copy:
  42.                         DICEHelp.ttx to REXX:, and make a keydef for it.
  43.                         I use <A>?.
  44.  
  45.  
  46. Commandline syntax:
  47.  
  48.                 DiceHelp <searchstring> [REXXSTARTUP]
  49.  
  50.  
  51. Rexx syntax:
  52.  
  53.                 T <searchstring>        ;Return in temp file, RESULT is filename
  54.                                         ;[Eventually whole files will just
  55.                                         ; return the name].
  56.                 C <searchstring>        ;Return in clipboard, RESULT is item
  57.                 S <searchstring>        ;Write to standard out
  58.  
  59.